<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-image: url('https://s2.loli.net/2024/05/22/XijgIyhkmS59nBc.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            justify-content: center;
            align-items: flex-start; /* 使内容向上对齐 */
            height: 100vh;
            margin: 0;
        }
        .container {
            text-align: center;
            margin-top: 20vh; /* 调整上边距，使内容向上移动 */
        }
        h1 {
            color: #e5f7ff; /* 浅灰色字体 */
            font-size: 5em; /* 增大字体 */
        }
        .button-container {
            margin-top: 40px; /* 调整按钮与文字之间的距离 */
        }
        .button {
            background-color: #ffffff; /* 白色背景 */
            color: #000000; /* 按钮文字颜色 */
            padding: 15px 30px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 25px;
            margin: 10px 10px;
            cursor: pointer;
            border-radius: 8px;
            border: 2px solid #007bff; /* 边框颜色 */
            transition: background-color 0.3s, color 0.3s; /* 添加过渡效果 */
            font-family: "黑体", Times, serif;
            background-color: rgba(255, 255, 255, 0.8);
        }
        .button:hover {
            background-color: #007bff; /* 悬停时背景颜色 */
            color: #ffffff; /* 悬停时文字颜色 */
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>欢迎使用PPT生成助手</h1>
        <div class="button-container">
            <button class="button" onclick="window.location.href='index'">大纲转PPT</button>
            <button class="button" onclick="window.location.href='previous_index'">PPT转大纲</button>
            <button class="button" onclick="window.location.href='generate_outline'">文章转大纲</button>
        </div>
    </div>
</body>
</html>
